package com.campus.entry;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("t_course")
public class Course {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("course_name")
    private String courseName;

    @TableField("created_time")
    private LocalDateTime createdTime;

    @TableField("status")
    private String status;

    @TableField("activity_id")
    private Integer activityId;

    @TableField("teacher_id")
    private Integer teacherId;

    @TableField("class_id")
    private Integer classId;
}
